package com.android.RssReader.Service;

import com.android.RssReader.RssReaderApplication;
import com.android.RssReader.Provider.NewsManagerDB;


public class NewsService implements IService{
	private final NewsManagerDB mediaDB = new NewsManagerDB(RssReaderApplication.getInstance());
	@Override
	public boolean start() {
		mediaDB.open();
		return true;
	}

	@Override
	public boolean stop() {
		mediaDB.close();
		return true;
	}

	public NewsManagerDB getMediaDB() {
		return mediaDB;
	}
	
	

}
